package com.leyou.order.pojo;

import com.leyou.common.vo.PageResult;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "tb_order_detail")
public class OrderDetail {

    @Id
    @KeySql(useGeneratedKeys = true)
    private  Long id;
    private Long orderId;//订单
    private  Long skuId;//商品id
    private  Integer num;//数量
    private  String title;//标题
    private  Long price;//价格
    private String ownSpec;//规格
    private String image;//图片
}
